package com.taiji.workOrder.domain;

import com.taiji.common.annotation.Excel;
import com.taiji.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 工单日志对象 order_logs
 *
 * @author taiji
 * @date 2023-03-09
 */
public class OrderLogs extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private Long id;

    /** 工单编号 */
    @Excel(name = "工单编号")
    private String workNumber;

    /** 日志内容 */
    @Excel(name = "日志内容")
    private String contents;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setWorkNumber(String workNumber)
    {
        this.workNumber = workNumber;
    }

    public String getWorkNumber()
    {
        return workNumber;
    }
    public void setContents(String contents)
    {
        this.contents = contents;
    }

    public String getContents()
    {
        return contents;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("workNumber", getWorkNumber())
                .append("contents", getContents())
                .append("remark", getRemark())
                .append("createTime", getCreateTime())
                .append("createBy", getCreateBy())
                .append("updateTime", getUpdateTime())
                .append("updateBy", getUpdateBy())
                .toString();
    }
}
